/*
 * 文 件 名:  GlobalConstant.java
 * 创建日期:  2012-04-30
 * 版    权:  Technologies Co., Ltd. Copyright 2011-2011,  All rights reserved
 * 作    者:  chenwei
 */
package com.yu.util;

/**
 * 
 * 全局静态常量类索引
 * 
 * @author chenwei
 * 
 */
public final class GlobalConstant
{
    public static final String STATUS = "status";
    
    public static final String WARN = "warn";
    
    public static final String SUCCESS = "success";
    
    public static final String ERROR = "error";
    
    public static final String MESSAGE = "message";
    
    /**
     * 
     * 分页静态常量类
     * 
     * @author chenwei
     */
    public static final class PageConstant
    {
        
        // 默认起始页码数
        public static final int DEFAULT_START_PAGE = 1;
        
        // 默认每页条数 10
        public static final int DEFAULT_PAGE_SIZE = 10;
        
    }
    
    /**
     * 
     * websocket接口
     * 
     * @author chenwei
     */
    public static final class WebSocketConstant
    {
        
        // websocket端口
        public static final int PORT = 8887;
        
    }
    
}
